#include "stm32f10x.h"    
#include "Delay.h"
#include "OLED.h"
#include "bsp_uart.h"
#include "stdio.h"
#include "debug.h"
#include "MY_AT.h"
#include "flash_ops.h"
extern device_config_t g_device_config;
int main(void)
{
	int i =0;
	uart1_init(9600);	 
	USART2_Init(115200); 
	Init_Device_Config();
	printf("AT\r\n");
	OLED_Init();	 
	USART2_SendString("System running...\r\n");
	i = nb_mqtt_Init();
	OLED_ShowNum(1,1,i,3);
  while(1)
  {
		
		
			receive_data();
//			if()
//			{
//				
//			}
      Delay_ms(1000);
      
  }
}
